package com.ll.base.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author shzz
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class IdDTO {
    @NotNull(message = "ID不能为null")
    @ApiModelProperty(value = "id", example = "1")
    private Long id;
}
